<?php

namespace App\Http\Controllers\hotel;

use App\Models\Business\Business as BusinessModel;
use App\Models\Hotel\Hotel as HotelModel;
use App\Models\Hotel\Coupon as CouponModel;

use Illuminate\Http\Request;
// 引入Validator 门面 
use Illuminate\Support\Facades\Validator;

use App\Http\Controllers\Controller;


class Hotel extends Controller
{
    public function index()
    {
        $hotel = HotelModel::all();

        $res = CouponModel::all();

        $data = [
            'hotel' => $hotel,
            'res' => $res
        ];

        return success('', $data);
    }
}